﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Class2
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Departent { get; set; }
        public Class2() 
        { 
        
        }
        public Class2(int id,string name,string department) 
        {
            this.Id = id;
            this.Name = name;
            this.Departent = department;
        }
        public void aaa() 
        {
            Console.WriteLine("我的工号为{0}，姓名为{1}，部门为{2}",this.Id,this.Name,this.Departent);
        }
    }
}
